// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/vite/dist/node/index.js";
import vue from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import AutoImport from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///Users/admin/WorkSpace/workFile/bawei/project_six/2019B/vue/hyzf_backend/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/api_dev": {
        target: "http://hyzf.shbwyz.com",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api_dev/, "")
      },
      "/api_local": {
        target: "http://127.0.0.1:7001",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api_local/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmln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